package main

import (
	"bufio"
	"flag"
	"fmt"
	"os"
	"strconv"
)

func solve() {
	a := RS()
	Out(a)
}

func main() {
	reader.Split(bufio.ScanWords)
	defer writer.Flush()
	T := RI()
	for T > 0 {
		solve()
		T--
	}
}

var (
	reader = bufio.NewScanner(os.Stdin)
	writer = bufio.NewWriter(os.Stdout)
	DEBUG  = false
)

func RI() int {
	reader.Scan()
	val, _ := strconv.Atoi(reader.Text())
	return val
}

func RI64() int64 {
	reader.Scan()
	val, _ := strconv.ParseInt(reader.Text(), 10, 64)
	return val
}

func RS() string {
	reader.Scan()
	return reader.Text()
}

func Out(outPutObjs ...any) {
	fmt.Fprint(writer, outPutObjs...)
	if DEBUG {
		writer.Flush()
	}
}

func Outf(format string, outPutObjs ...any) {
	fmt.Fprintf(writer, format, outPutObjs...)
	if DEBUG {
		writer.Flush()
	}
}

func init() {
	test := flag.Bool("d", false, "-d: Run on debug mode (out flush immediately)")
	usefile := flag.Bool("f", false, "-f: Use file as input")

	flag.Parse()
	DEBUG = *test

	if !*usefile {
		return
	}

	inf, err := os.Open("./in/in.txt")
	if err != nil {
		panic(err)
	}
	outf, err := os.Create("./out/out.txt")
	if err != nil {
		panic(err)
	}

	reader = bufio.NewScanner(inf)
	writer = bufio.NewWriter(outf)
}
